﻿using System;
using Microsoft.Practices.Unity;

namespace SharedGenomics.Core.Configuration
{
    /// <summary>
    /// This class contains the context of the container initialisation used by instances of <see cref="IContainerConfigurationStrategy"/> during the container 
    /// configuration.
    /// </summary>
    public class ContainerConfigurationContext
    {
        public ContainerConfigurationContext(IConfigurationReader config, IUnityContainer container)
        {
            this.ConfigReader = config;
            this.Container = container;
        }

        public IConfigurationReader ConfigReader { get; private set; }
        public IUnityContainer Container { get; private set; }
    }
}
